#include "my_sdk.h"
#include "HCNetSDK.h"
My_SDK::My_SDK()
{
    NET_DVR_Init();
    NET_DVR_SetConnectTime(2000, 1);
    NET_DVR_SetReconnect(10000, true);
}
void My_SDK::online(QString &ip)
{

   /* NET_DVR_DEVICEINFO_V30 struDeviceInfo;
    this->devIp = "192.168.10.114";
    lUserID = NET_DVR_Login_V30(this->devIp.toLocal8Bit().data(), 8000, "admin", "12345", &struDeviceInfo);
    if (lUserID < 0)
    {
        qDebug()<< "Login error:" << NET_DVR_GetLastError();
        NET_DVR_Cleanup();
        return;
    }
    qDebug() << "login ok";*/

}
